package com.ruoyi.web.wuliu.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 银行卡支付信息对象 bank_payment
 * 
 * @author ruoyi
 * @date 2024-01-27
 */
public class BankPayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Integer orderId;

    /** 支付方 */
    @Excel(name = "支付方")
    private String payer;

    /** 收款方 */
    @Excel(name = "收款方")
    private String payee;

    /** 车数 */
    @Excel(name = "车数")
    private Integer numberCars;

    /** $column.columnComment */
    private Date paymentTime;

    /** 金额 */
    @Excel(name = "金额")
    private String amount;

    /** 支付流水号 */
    private String paymentSerial;

    private String bankAddress;

    private String status;

    private String bankAccount;
    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setOrderId(Integer orderId) 
    {
        this.orderId = orderId;
    }

    public Integer getOrderId() 
    {
        return orderId;
    }
    public void setPayer(String payer) 
    {
        this.payer = payer;
    }

    public String getPayer() 
    {
        return payer;
    }
    public void setPayee(String payee) 
    {
        this.payee = payee;
    }

    public String getPayee() 
    {
        return payee;
    }
    public void setNumberCars(Integer numberCars) 
    {
        this.numberCars = numberCars;
    }

    public Integer getNumberCars() 
    {
        return numberCars;
    }
    public void setPaymentTime(Date paymentTime) 
    {
        this.paymentTime = paymentTime;
    }

    public Date getPaymentTime() 
    {
        return paymentTime;
    }
    public void setAmount(String amount) 
    {
        this.amount = amount;
    }

    public String getAmount() 
    {
        return amount;
    }
    public void setPaymentSerial(String paymentSerial) 
    {
        this.paymentSerial = paymentSerial;
    }

    public String getPaymentSerial() 
    {
        return paymentSerial;
    }

    public String getBankAddress() {
        return bankAddress;
    }

    public void setBankAddress(String bankAddress) {
        this.bankAddress = bankAddress;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("payer", getPayer())
            .append("payee", getPayee())
            .append("numberCars", getNumberCars())
            .append("paymentTime", getPaymentTime())
            .append("amount", getAmount())
            .append("paymentSerial", getPaymentSerial())
            .append("remark", getRemark())
            .toString();
    }
}
